package generators;

import model.dao.UserDAO;
import model.entity.User;

public class UserGenerator extends Generator<User>{	
	protected User generateOne(int seed) {
		User u = new User();
		u.setName("Usuario"+seed);
		u.setDescription("Este é o usuário de número "+seed);
		u.setMail("usuario"+seed+"@gmail.com");
		u.setMessages(null);
		u.setPassword("hehe");
		u.setSalt("haha");
		UserDAO dao = new UserDAO(User.class);
		dao.create(u);
		return u;
	}
}
